import { Entity, PrimaryGeneratedColumn, Column } from "typeorm";

@Entity({
    name: 'form'
})
export class Form {

    @PrimaryGeneratedColumn()
    article_title!: string;

    @Column()
    article_text!: string;


    @Column()
    categories_id!: number;

    @Column()
    tag_id!: number;

    @Column()
    article_backimg!: string;
}